<?php
/*
    方倍工作室 http://www.cnblogs.com/txw1958/
    CopyRight 2013 www.doucube.com  All Rights Reserved

 $explains=array
    (
      0=>"abbr. 联合王国（United Kingdom）",
      1 => "n. 英国"
    );


	foreach( $explains as  $k => $value){
        $result .= "<br/>".$explains[$k].$k;
        }

	$keyword="翻译usb";

	echo strlen("翻译usb");
	print_r("subsbu  ".substr($keyword,0,6)."\n"); 


            
            echo substr($keyword,6,strlen($keyword)-6);
*/

include("global/token.php");  
$url = "https://api.weixin.qq.com/cgi-bin/menu/get?access_token={$access_token}";  
$ch = curl_init();  
curl_setopt($ch, CURLOPT_URL, $url);  
curl_exec($ch);  
curl_close($ch);  

	
?>